|
|
@@ -28,10 +28,14 @@ module Agents
|
28
|
28
|
- "subject"
|
29
|
29
|
- "body"
|
30
|
30
|
|
31
|
|
- Specify a string of the regular expression that is matched
|
32
|
|
- against the decoded subject/body of each mail.
|
33
|
|
-
|
34
|
|
- Use the `(?i)` directive for case insensitive search.
|
|
31
|
+ Specify a regular expression to match against the decoded
|
|
32
|
+ subject/body of each mail.
|
|
33
|
+
|
|
34
|
+ Use the `(?i)` directive for case-insensitive search. For
|
|
35
|
+ example, a pattern `(?i)alert` will match "alert", "Alert"
|
|
36
|
+ or "ALERT". You can also make only a part of a pattern to
|
|
37
|
+ work case-insensitively: `Re: (?i:alert)` will match either
|
|
38
|
+ "Re: Alert" or "Re: alert", but not "RE: alert".
|
35
|
39
|
|
36
|
40
|
When a mail has multiple non-attachment text parts, they are
|
37
|
41
|
prioritized according to the `mime_types` option (which see
|